import { Card } from 'antd'
import classNames from 'classnames'

export function FormCard({ className = '', card = {}, children }) {
  return (
    <div className={classNames('p-2 overflow-auto', className)}>
      <Card {...card}>{children}</Card>
    </div>
  )
}
